<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class HomelogoutController extends Controller
{   
    //后台首页
   public function homelogout(Request $request)
   {
        $request->session()->flush();
        return redirect('/');
   }
}
